package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.dto.AppDTO;
import com.huiminpay.merchant.entity.App;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface AppCovert {


    AppCovert INSTANCE = Mappers.getMapper(AppCovert.class);


    App dto2entity(AppDTO appDTO);
    AppDTO entity2dto(App app);

    List<App> dto2entityList(List<AppDTO> appDTOS);
    List<AppDTO> entity2dtoList(List<App> apps);



}
